package com.zhiyou.app.shop.website.dao.pojo;



import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * UserStockInfo entity. @author MyEclipse Persistence Tools
 */

public class UserStockInfo implements java.io.Serializable {

	// Fields

	private String id;
	private String userId;
	private Integer stockQuantity;
	private String type;
	private BigDecimal price;
	private Timestamp createDate;
	private Timestamp tradeDate;
	private BigDecimal totalPrice;
	private String relationId;
	private String status;

	// Constructors

	/** default constructor */
	public UserStockInfo() {
	}

	/** full constructor */
	public UserStockInfo(String userId, Integer stockQuantity, String type,
			BigDecimal price, Timestamp createDate, Timestamp tradeDate,
			BigDecimal totalPrice, String relationId, String status) {
		this.userId = userId;
		this.stockQuantity = stockQuantity;
		this.type = type;
		this.price = price;
		this.createDate = createDate;
		this.tradeDate = tradeDate;
		this.totalPrice = totalPrice;
		this.relationId = relationId;
		this.status = status;
	}

	// Property accessors

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getStockQuantity() {
		return this.stockQuantity;
	}

	public void setStockQuantity(Integer stockQuantity) {
		this.stockQuantity = stockQuantity;
	}

	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public BigDecimal getPrice() {
		return this.price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public Timestamp getTradeDate() {
		return this.tradeDate;
	}

	public void setTradeDate(Timestamp tradeDate) {
		this.tradeDate = tradeDate;
	}

	public BigDecimal getTotalPrice() {
		return this.totalPrice;
	}

	public void setTotalPrice(BigDecimal totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getRelationId() {
		return this.relationId;
	}

	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

}